home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_23.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  74KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | plant | reckoner | sky | tree | windowpane
OCR: Lesson I-19 Mastering postfix notation If you're not particularly well versed in this reverse notation callpostfix notation then it is important to recognize that complex math formulas need to be analyzed before they can be entered into Mops's postfix integer arithmetic environment For example, you may find yourself confronted with having to include the following formula in a Mops program: If so, then Mops integer ari thme tic might seem like a stumbling bloc may seem worth ess But call upon imple algebra to convert everythin: up the compl lforinto the same steps you would use to solve it with The Mops equival lent of this formula 50 It' worth foll Lowi ing what happens C C the stack duri 6u lex formul; ma ke the an integer, multiply and the denomi na tor by four Th, be multip 1 ed into th ...